#ifndef LIVESOURCE_H
#define LIVESOURCE_H

/********** Library Includes **************************************************/

#include <opencv/cv.h>

/********** Local Includes ****************************************************/

#include "imagesource.h"

/********** Classes ***********************************************************/

/**
 * An ImageSource that pulls images from a live USB camera.
 */
class LiveSource : public ImageSource {
public:
	
	LiveSource();
	explicit LiveSource(int);
	virtual cv::Mat next();
	cv::VideoCapture m_camera;
};

#endif
